<?php
/**
 * Created by PhpStorm.
 * User: xaq
 * Date: 2017/5/26
 * Time: 16:48
 */

namespace app\api\validate;

use app\api\validate\BaseValidate;


class QuestionValidate extends BaseValidate
{
    protected $rule = [
        'content' => 'require|isNotEmpty',
        'name' => 'require|isNotEmpty',
        'img_url' => 'require|isNotEmpty'
    ];
}